<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">标题</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入标题" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分类ID</label>
            <div class="layui-input-block">
                <select name="cate_id" >
                    <option value=''></option>
                    {foreach $notes['cate_id'] as $k=>$v}
                    <option value='{$k}' >{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">需求情况</label>
            <div class="layui-input-block">
                {:editor_textarea("","describe","需求情况")}

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">商品图片 以 | 做分割符号</label>
            <div class="layui-input-block layuimini-upload">
                <input name="images" class="layui-input layui-col-xs6"   placeholder="请上传商品图片 以 | 做分割符号" value="">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="images" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image" data-upload-sign="|"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_images" data-upload-select="images" data-upload-number="more" data-upload-mimetype="image/*" data-upload-sign="|"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">需求联系人</label>
            <div class="layui-input-block">
                <input type="text" name="contact" class="layui-input"  placeholder="请输入需求联系人" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系电话</label>
            <div class="layui-input-block">
                <input type="text" name="mobile" class="layui-input"  placeholder="请输入联系电话" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">村id</label>
            <div class="layui-input-block">
                <select name="village_id" >
                    <option value=''></option>
                    {foreach $notes['village_id'] as $k=>$v}
                    <option value='{$k}' >{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">详细地址</label>
            <div class="layui-input-block">
                <input type="text" name="address" class="layui-input"  placeholder="请输入详细地址" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">点赞量</label>
            <div class="layui-input-block">
                <input type="text" name="likes" class="layui-input"  placeholder="请输入点赞量" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">浏览量</label>
            <div class="layui-input-block">
                <input type="text" name="hits" class="layui-input"  placeholder="请输入浏览量" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">审批状态(1:待审核,2:审核通过,3:审核拒绝)</label>
            <div class="layui-input-block">
                <input type="text" name="approve_status" class="layui-input"  placeholder="请输入审批状态(1:待审核,2:审核通过,3:审核拒绝)" value="1">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户ID</label>
            <div class="layui-input-block">
                <input type="text" name="user_id" class="layui-input"  placeholder="请输入用户ID" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="number" name="sort" class="layui-input" lay-affix="number"  placeholder="请输入排序" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">推荐状态(0:不推荐,1:推荐)</label>
            <div class="layui-input-block">
                {foreach $notes['is_recommend'] as $k=>$v}
                <input type="radio" name="is_recommend" value="{$k}" title="{$v}" >
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">项目状态 0 求助中 1帮扶中 2已完成</label>
            <div class="layui-input-block">
                <input type="text" name="project_status" class="layui-input"  placeholder="请输入项目状态 0 求助中 1帮扶中 2已完成" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态(1:禁用,2:启用)</label>
            <div class="layui-input-block">
                <input type="text" name="status" class="layui-input"  placeholder="请输入状态(1:禁用,2:启用)" value="1">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注说明</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea"  placeholder="请输入备注说明"></textarea>
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>
    </form>
</div>